package com.lovo.pis.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_buy_goods")
public class BuyGoodsBean {
    //商品id
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    //商品名称
    private String name;
    //商品品牌
    private String brand;
    //采购价格
    private double price;
    //采购数量
    private int number;
    //采购单id
    private int  orderId;
}
